package top.jiangqiang.qyblog.core.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Schema(name = "图片文字外链数据结构", description = "用于需要图片，外链和文字描述的地方，比如广告位数据结构，公告，轮播图等")
@Data
public class PictureTextLink implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "图片地址")
    private String imageUrl;
    @Schema(description = "描述文字")
    private String desc;
    @Schema(description = "图片外链地址")
    private String link;
}
